CC = gcc
CFLAGS = -w

SRC = $(wildcard *.c)
OBJ = $(SRC:.c=.o)
TARGET = cloud-server

all: $(OBJ)
	$(CC) $(CFLAGS) -o $(TARGET) $^

%.o : %.c
	gcc -c $(CFLAGS) -o $@ $<

clean:
	rm -rf *.o ~*
